Web API is an efficient way for Service-based Software (SBS) development, and mashup is a key technology which merges several web services to deal with the increasing complexity of software requirements and expedite the service-based system development. The efficient service recommendation method is vital for the software development. However, the existing methods often suffer from data sparsity or cold start issues, which should lead to bad effects. Currently, this paper starts with SBS development, and proposes a service recommendation method based on knowledge graph embedding and collaborative filtering (CF) technology. In our model, we first construct a refined knowledge graph using SBS-service co-invocation record and SBS and service related information to mine the potential semantics relationship between SBS and service. Then, we learn the SBS and service entities in the knowledge graph. These heterogeneous entities (SBS and service, etc.) are embedded into the low-dimensional space through the representation learning algorithms ofWord2vec and TransR, and the distances between SBS and service vectors are calculated. The input of recommendation model is SBS requirement (target SBS), the similarities functional SBS set is extracted from knowledge graph, which can relieve the cold start problem. Meanwhile, the recommendation model uses CF to recommend service to target SBS. Finally, this paper verifies the effectiveness of method on the real-word dataset. Compared with the several state-of-the-art methods, our method has the best service hit rate and ranking quality.
Loading....